import request from "@/plugins/axios";
// 单页列表
export function listApi(data) {
  return request({
    url: "/admin/page/index",
    method: "post",
    data,
  });
}
// 单页添加
export function addApi(data) {
  return request({
    url: "/admin/page/create",
    method: "post",
    data,
  });
}
// 单页修改
export function saveApi(data) {
  return request({
    url: "/admin/page/save",
    method: "post",
    data,
  });
}
// 单页删除
export function delApi(data) {
  return request({
    url: "/admin/page/delete",
    method: "post",
    data,
  });
}
// 单页状态
export function stateApi(data) {
  return request({
    url: "/admin/page/state",
    method: "post",
    data,
  });
}
